<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="renderer" content="webkit">
		<title> hAdmin- 主页</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
		<link rel="shortcut icon" href="favicon.ico">
		<link href="__STATIC__/css/bootstrap.min.css" rel="stylesheet">
		<link href="__STATIC__/css/font-awesome.min.css" rel="stylesheet">
		<link href="__STATIC__/css/animate.css" rel="stylesheet">
		<link href="__STATIC__/css/style.css" rel="stylesheet">
		<!--表单元素css-->
		<link href="__STATIC__/css/plugins/iCheck/custom.css" rel="stylesheet">

	</head>

	<body class="fixed-sidebar full-height-layout gray-bg">
		<div id="wrapper">
			<!--左侧导航开始-->
			<include file="Public/left" title="left" />
			<!--左侧导航结束-->
			<!--右侧部分开始-->
			<div id="page-wrapper" class="gray-bg dashbard-1" style="height: auto;">
				<include file="Public/top" title="top" />
				<div class="row J_mainContent" id="content-main">
					<div class="col-sm-12">
						<div class="ibox float-e-margins">
							<div class="ibox-title">
								<h5>添加用户 <small>添加后台管理</small></h5>
							</div>
							<div class="ibox-content">
								<form action="{:U('member/add')}" method="post" class="form-horizontal">
									<div class="form-group">
										<label class="col-sm-2 control-label">用户名</label>
										<div class="col-sm-10">
											<input type="text" class="form-control" placeholder="请输入用户名" name="username">
										</div>
									</div>									 
									<div class="hr-line-dashed"></div>
									<div class="form-group">
										<label class="col-sm-2 control-label">会员到期时间</label>
										<div class="col-sm-10">
											<input type="text" class="form-control" name="tianshu" value="{$Think.NOW_TIME|date='Y-m-d',###}"> <span class="help-block m-b-none">(请直接修改日期格式)</span>
										</div>
									</div>

									<div class="form-group" style="display:none;">
										<label>空间大小(MB)</label>
										<input class="form-control" type="text" name="allowsize" placeholder="allowsize" value="{$config.allowsize}">
									</div>
									<div class="form-group" style="display:none;">
										<label>限制上传大小(MB)</label>
										<input class="form-control" type="text" name="singlesize" placeholder="singlesize" value="{$config.singlesize}">
									</div>
									<div class="form-group" style="display:none;">
										<label>会员已上传大小(MB):{$config.uploadedsize}</label>
									</div>
									<div class="hr-line-dashed"></div>
									<div class="form-group">
										<label class="col-sm-2 control-label">密码</label>
										<div class="col-sm-10">
											<input type="password" class="form-control" name="password" placeholder="请输入用户名密码">
										</div>
									</div>
									<div class="hr-line-dashed"></div>
									<div class="form-group">
										<label class="col-sm-2 control-label">确认密码</label>
										<div class="col-sm-10">
											<input type="password" class="form-control" name="password" placeholder="请输入用户名密码">
										</div>
									</div>

									<div class="hr-line-dashed"></div>
									<div class="form-group">
										<label class="col-sm-2 control-label">用户类型</label>
										<div class="checkbox i-checks">
											<label>
                                            <input type="checkbox"checked="" name="type" id="type" value="2"> <i></i> 管理员</label>
										</div>
									</div>
									<div class="form-group" style="display:none;">
										<label>是否VIP</label>
										<label class="radio-inline">
          <input type="radio" name="isvip" id="isvip" value="0">是
        </label>
										<label class="radio-inline">
          <input type="radio" name="isvip" id="isvip" value="1"  checked="checked">否
        </label>
									</div>
									<div class="hr-line-dashed"></div>
									<div class="form-group">
										<label class="col-sm-2 control-label">用户状态</label>
										<div class="checkbox i-checks">
											<label>
                                            <input type="radio" value="" checked="" name="state"> <i></i> 正常</label>
											<label>
                                            <input type="radio" value=""  name="state"> <i></i> 禁止登录</label>
										</div>
									</div>
									<div class="form-group" style="display:none;">
										<label>上传类型</label>
										<label class="radio-inline">
          <input type="radio" name="uptype" id="uptype" value="1" <if condition="$config.uptype eq 1">checked="checked"</if>>七牛
        </label>
									</div>
									<div class="form-group" style="display:none;">
										<label>accesskey</label>
										<input class="form-control" type="text" name="accesskey" placeholder="accesskey" value="{$config.accesskey}">
									</div>
									<div class="form-group" style="display:none;">
										<label>secretkey</label>
										<input class="form-control" type="text" name="secretkey" placeholder="secretkey" value="{$config.secretkey}">
									</div>
									<div class="form-group" style="display:none;">
										<label>bucket</label>
										<input class="form-control" type="text" name="bucket" placeholder="bucket" value="{$config.bucket}">
									</div>
									<div class="form-group" style="display:none;">
										<label>domain</label>
										<input class="form-control" type="text" name="domain" placeholder="domain" value="{$config.domain}">
									</div>
									<div class="form-group" style="display:none;">
										<label>uptoken</label>
										<input class="form-control" type="text" name="uptoken" placeholder="uptoken" value="{$config.uptoken}">
									</div>
									<div class="form-group">
										<div class="col-sm-4 col-sm-offset-2">
											<button class="btn btn-info" type="submit">保存内容</button>
											<button class="btn btn-white" type="submit">取消</button>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!--右侧部分结束-->

			<!-- 全局js -->
			<script src="__STATIC__/js/jquery.min.js"></script>
			<script src="__STATIC__/js/bootstrap.min.js"></script>
			<!--<script src="__STATIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="__STATIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		<script src="__STATIC__/js/plugins/layer/layer.min.js"></script>-->

			<!-- 自定义js -->
			<!--<script src="__STATIC__/js/hAdmin.js"></script>-->
			<script src="__STATIC__/js/content.js"></script>
			<!--<script type="text/javascript" src="__STATIC__/js/index.js"></script>-->

			<!-- 第三方插件 -->
			<!--<script src="__STATIC__/js/plugins/pace/pace.min.js"></script>-->
			<!-- iCheck -->
			<script src="__STATIC__/js/plugins/iCheck/icheck.min.js"></script>
			<script>
				$(document).ready(function() {
					$('.i-checks').iCheck({
						checkboxClass: 'icheckbox_square-green',
						radioClass: 'iradio_square-green',
					});
				});
			</script>
	</body>

</html>